import service from "../utils/request";
//获取项目列表
export function proList(payload = {}){
    return service.get('/pro/list', { params: payload } )
}
//更改项目状态
export function proUpdateFlage(payload = {}){
    return service.post('/pro/updateFlag', payload )
}
//获取秒杀和推荐商品
export function proShowdata(payload = {}){
    return service.post('/pro/showdata',  payload )
}
//筛选商品
export function proSearch(payload = {}){
    return service.post('/pro/searchPro',  payload )
}
//获取商品分类
export function getCategory(payload = {}){
    return service.get('/pro/getCategory', { params: payload } )
}
